<?php

// $profile passed 

?>

<div class="clear profile-item">
  <figure class="left profile-picture">
    <?php if($profile->hasThumb()): ?>
    <img src="<?= $profile->getThumb() ?>" alt="<?= $profile->getName() ?>">
    <?php else: ?>
    <img src="http://placehold.it/120&text=No+Picture" alt="Placeholder Image">
    <?php endif ?>
  </figure>
  <div class="profile-data">
    <p>
      <strong><?= $profile->getName() ?>
      <?php if($profile->hasTitle()) echo " - " . $profile->getTitle() ?></strong><br>
      <?= $profile->getAddress() ?>
    </p>
    <a href="<?= url('people/board-of-directors/' . $profile->getSlug()) ?>" class="small button">View profile &raquo;</a>
  </div>
</div>